home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat7 / cserialio.z / cserialio
Encoding:
Text File  |  2002-10-03  |  2.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ccccsssseeeerrrriiiiaaaalllliiiioooo((((7777))))                                                      ccccsssseeeerrrriiiiaaaalllliiiioooo((((7777))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      cserialio - character driver interface to serial communication ports
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      /dev/ttyc<ppppoooorrrrttttnnnnoooo>
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      On Origin, O2, Octane and Challenge/Onyx systems, the special files
  16.      /dev/ttyc* provide a character based interface (as opposed to a streams
  17.      based interface) to the system serial ports. The hardware accessed by
  18.      each special file is determined by the ppppoooorrrrttttnnnnoooo portion of the pathname
  19.      (see serial(7) for further details). The character based interface is
  20.      intended to provide a low cost option for applications wishing to do bulk
  21.      data transfer via the serial ports with no character interpretation.
  22.      There is no line discipline associated with this port type and no tty
  23.      facilities are provided.
  24.  
  25. IIIIOOOOCCCCTTTTLLLLSSSS
  26.      The ttyc ports support a limited subset of the ioctl set used to control
  27.      ordinary tty ports. Specifically, ioctl functions which relate directly
  28.      to the hardware are supported, whereas ioctl functions which relate to
  29.      software functions of the tty interface such as the line discipline are
  30.      not supported and may either fail or be silently ignored. In addition,
  31.      streams ioctls will fail since this is not a streams device.
  32.  
  33.      For port hardware configuration, the ttyc interface supports the
  34.      following ioctls as described in termio(7): TCGETA, TCSETA, TCSETAW,
  35.      TCSETAF, TCGETS, TCSETS, TCSETSW, TCSETSF. Not all fields of the termio
  36.      struct are relevant to the ttyc interface. The following fields are
  37.      supported as described in termio(7): c_ospeed, CSIZE, CSTOPB, PARENB,
  38.      PARODD, CNEW_RTSCTS. In addition the port will generate a SIGINT on
  39.      reception of a break char if IGNBRK is false and BRKINT is true. Lastly,
  40.      reads from ttyc ports will be non-blocking if ICANON is false, and VMIN
  41.      and VTIME are 0. All other fields of the termio struct are silently
  42.      ignored.
  43.  
  44.      The ttyc ports also honor the following ioctls as described in termio(7):
  45.      TCSBRK, TCFLSH.
  46.  
  47.      Lastly, the following ioctls are supported as described in serial(7):
  48.      SIOC_RS422, SIOC_EXTCLK, SIOC_ITIMER.
  49.  
  50. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  51.      serial(7), termio(7)
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.